// src/main.jsx
import ReactDOM from 'react-dom/client';
import { HashRouter } from "react-router-dom";
import AppRoutes from './routes/index';
import App from './App';

const root = ReactDOM.createRoot(document.getElementById('root'));
// root.render (<AppRoutes> <App /></AppRoutes> );
root.render ( <HashRouter>
 <App />
 </HashRouter>
 );